package com.lj.demo.statisticsService.service;

import com.lj.demo.statisticsService.entity.StatisticsDaily;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * 网站统计日数据 服务类
 * </p>
 *
 * @author liujiang
 * @since 2021-01-17
 */
public interface StatisticsDailyService extends IService<StatisticsDaily> {

    //统计传入日期的注册人数加入数据库
    void createStatisticByDate(String day);

    //获取区间统计的信息
    Map<String, Object> getChartData(String begin, String end, String type);
}
